package com.zgs.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zgs.common.utils.PageUtils;
import com.zgs.mall.product.entity.AttrEntity;
import com.zgs.mall.product.entity.AttrGroupEntity;
import com.zgs.mall.product.vo.AttrGroupVo;
import com.zgs.mall.product.vo.SpuItemAttrGroupVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author zgs
 * @email 
 * @date 2020-07-09 08:49:51
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);


    List<AttrGroupVo> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long catalogId, Long spuId);
}

